package com.example.obsever;

/**
 * Created by qw on 2017/3/3.
 */

public abstract class Obsever<T> {


    public Subject subject;

    public Obsever(Subject subject) {
        this.subject = subject;
        subject.attach(this);
    }

    public void notifyed(T t){

    }
}
